<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>
<%@ page import="jp.co.cos.ittrick.channel.model.ChannelModel" %>
<%@ page import="jp.co.cos.ittrick.channel.model.ChapterModel" %>
<%@ page import="jp.co.cos.ittrick.channel.model.PageModel" %>
<%@ page import="jp.co.cos.ittrick.channel.model.PreModel" %>
<%@ page import="java.util.List" %>
<%
	ChannelModel channelModel = (ChannelModel)request.getAttribute("channelModel");
	ChapterModel chapterModel = (ChapterModel)request.getAttribute("chapterModel");
%>
<html lang="ja">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>${pageModel.name }-${channelModel.name }：IT TRICK</title>
	<meta name="description" content="${pageModel.description }" />
	<meta name="keywords" content="${pageModel.keyWordListString}" />
	<link rel="icon" type="image/gif" href="/favicon.png" >
	<link rel="alternate" type="application/rss+xml" title="RSS" href="/rss">
	<link href="/css/reset.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/css/common.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/css/page.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/css/client/base.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="/js/google-code-prettify/prettify.css" rel="stylesheet" type="text/css" media="screen" />
	<script src="/js/modernizr-1.1.min.js"></script>
	<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
		{lang: 'ja'}
	</script>
	<script src="/js/google-code-prettify/prettify.js"></script>
</head>
<body>

<!-- contents -->
			<article>

			<!-- mainLeftContent -->
				<div id="mainViewContent">
					<section id="mainSection">
						${pageModel.contentString }
					</section>
				</div>
			<!-- /mainLeftContent -->
			</article>
<!-- /contents -->

<script type="text/javascript">prettyPrint();</script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/ja_JP/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</body>
</html>
